package com.hqyj.mapper;

import com.hqyj.pojo.UserPower;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with Intellij IDEA.
 * User:LiTao
 * Date:2022/8/30
 * Time:13:30
 * Description:
 */
public interface UserPowerMapper {
    List<UserPower> selectAll(String remark);

    int add(@Param("power") String power, @Param("remark") String remark);

    UserPower update(int id);

    int updateUser(UserPower userPower);

    int deleteUser(int id);

    List<UserPower> getAll();
}
